package com.me.modules.assign.entity;

import com.me.modules.activiti.annotation.ActTable;
import com.me.modules.common.entity.ActivitiBaseEntity;
import com.me.modules.sys.entity.ValueDictionaryEntity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;


import java.util.List;


/**
 * 任务流程工单信息表
 *
 * @author me
 * @date 2019-01-14 10:56:27
 */
@ActTable(tableName = "tsk_assign_info",pkName="id")
public class TskAssignInfoEntity extends ActivitiBaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//ID
	private Long id;
	//任务编码
	private String assignCode;
	//任务标题
	private String assignTopic;
	//任务详述
	private String assignContent;
	//工单创建时间
	private Date assignCreateDate;
	//业务系统
	private Integer operation;
	//工单状态
	private String status;
	//请求人id
	private Integer reqId;
	//请求人姓名
	private String reqName;
	//业务系统名称
	private String operationName;
	//优先级
	private Long priority;

	private List<ValueDictionaryEntity> valueDictionarys =new ArrayList<ValueDictionaryEntity>();

	/*//流程实例ID
	private String instanceId;
	//流程定义ID
	private String defid;
	//流程发起人
	private Long startUserId;
	//流程发起时间
	private Date startTime;
	//审批结果
	private String actResult;*/

	/**
	 * 设置：ID
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：ID
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：任务编码
	 */
	public void setAssignCode(String assignCode) {
		this.assignCode = assignCode;
	}
	/**
	 * 获取：任务编码
	 */
	public String getAssignCode() {
		return assignCode;
	}
	/**
	 * 设置：任务标题
	 */
	public void setAssignTopic(String assignTopic) {
		this.assignTopic = assignTopic;
	}
	/**
	 * 获取：任务标题
	 */
	public String getAssignTopic() {
		return assignTopic;
	}
	/**
	 * 设置：任务详述
	 */
	public void setAssignContent(String assignContent) {
		this.assignContent = assignContent;
	}
	/**
	 * 获取：任务详述
	 */
	public String getAssignContent() {
		return assignContent;
	}
	/**
	 * 设置：工单创建时间
	 */
	public void setAssignCreateDate(Date assignCreateDate) {
		this.assignCreateDate = assignCreateDate;
	}
	/**
	 * 获取：工单创建时间
	 */
	public Date getAssignCreateDate() {
		return assignCreateDate;
	}
	/**
	 * 设置：业务系统
	 */
	public void setOperation(Integer operation) {
		this.operation = operation;
	}
	/**
	 * 获取：业务系统
	 */
	public Integer getOperation() {
		return operation;
	}
	/**
	 * 设置：工单状态
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * 获取：工单状态
	 */
	public String getStatus() {
		return status;
	}

	public Integer getReqId() {
		return reqId;
	}

	public void setReqId(Integer reqId) {
		this.reqId = reqId;
	}

	/**
	 * 设置：请求人姓名
	 */
	public void setReqName(String reqName) {
		this.reqName = reqName;
	}
	/**
	 * 获取：请求人姓名
	 */
	public String getReqName() {
		return reqName;
	}

	public String getOperationName() {
		return operationName;
	}

	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}

	public List<ValueDictionaryEntity> getValueDictionarys() {
		return valueDictionarys;
	}

	public void setValueDictionarys(List<ValueDictionaryEntity> valueDictionarys) {
		this.valueDictionarys = valueDictionarys;
	}

	public Long getPriority() {
		return priority;
	}

	public void setPriority(Long priority) {
		this.priority = priority;
	}
}
